<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>留言板</title>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>

<body>
	<div class="header container">
		<div class="page-header">
			<h1><a href="/">主页</a> <small>发表评论</small></h1>
		</div>
	</div>
	<div class="comments container">
		<form action="/topics/new" method="post">
			<div class="form-group">
				<label for="input_name">你的大名</label>
				<input type="text" class="form-control" required minlength="2" maxlength="10" id="input_name" name="name" placeholder="请写入你的姓名">
			</div>
			<div class="form-group">
				<label for="textarea_message">留言内容</label>
				<textarea class="form-control" name="msg" id="textarea_message" cols="30" rows="10" required minlength="5" maxlength="20"></textarea>
			</div>
			<button type="submit" class="btn btn-default">发表</button>
		</form>
	</div>
</body>

</html>
